<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--表单名称-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('表单名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::text('row[form_name]', '', ['id'=>'c-form_name','data-rule'=>'required'])}
        </div>
    </div>

    <!--表单描述-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('表单描述')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::textarea('row[form_desc]', '', ['id'=>'c-form_desc'])}
        </div>
    </div>

    <!--表单状态-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::radios('row[status]', $statusList, 'normal', ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">分类:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-rule="required" data-source="category/selectpage" data-params='{"custom[pid]":"5"}' class="form-control selectpage" name="row[category_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('Submit')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>